cc.Class({
    extends: cc.Component,

    properties: {
      
    },

    // LIFE-CYCLE CALLBACKS:

    onLoad () {
       
    },

    start () {
        
    },

    onEnable(){
        this.node.on(cc.Node.EventType.TOUCH_START, this.onTouchBegin);
        this.node.on(cc.Node.EventType.TOUCH_MOVE, this.onTouchMove);
        this.node.on(cc.Node.EventType.TOUCH_END, this.onTouchEnd);
    },

    onTouchBegin(event){},
    onTouchMove(event){},
    onTouchEnd(event){
        var card = event.target.getComponent("CardC");
        if(card){
            
        }
    },
});
